package com.proba.annotations.hibernate;

import java.util.List;

import org.hibernate.criterion.Restrictions;

import com.proba.annotations.TipPotrosenMaterijalDAO;
import com.proba.annotations.pojo.TipPotrosenMaterijal;

/**
 * <p>Hibernate DAO layer for TipPotrosenMaterijals</p>
 * <p>Generated at Mon May 10 22:57:47 CEST 2010</p>
 *
 * @author Salto-db Generator v1.0.16 / EJB3 + Hibernate DAO
 * @see http://www.hibernate.org/328.html
 */
public class TipPotrosenMaterijalHibernateDAO extends
		AbstractHibernateDAO<TipPotrosenMaterijal, Long> implements
		TipPotrosenMaterijalDAO {

	/**
	 * Find TipPotrosenMaterijal by tipPotrosenMaterijal
	 */
	public List<TipPotrosenMaterijal> findByTipPotrosenMaterijal(String tipPotrosenMaterijal) {
		return findByCriteria(Restrictions.eq("tipPotrosenMaterijal", tipPotrosenMaterijal));
	}
	

}
